//
//  ChatMessage.h
//  LTChat
//
//  Created by apple on 4/21/14.
//  Copyright (c) 2014 fantasy. All rights reserved.
//

#import "HDocument.h"
#import "XMPPStream.h"

@interface ChatMessage : HDocument
-(id)initWithElement:(XMPPMessage *)message;
@property (nonatomic,strong) NSString *from;
@property (nonatomic,strong) NSString *to;
@property (nonatomic,strong) NSString *type;
@property (nonatomic,strong)NSString *body;
@property (nonatomic)NSTimeInterval createDt;
@end
